#ifndef SPEED_ENCODER_H
#define SPEED_ENCODER_H

#include "Include.h"

namespace Team675
{

class SpeedEncoder : public Encoder
{
	INT32 m_previousValue;
	Timer m_rateTimer;
public:	
	SpeedEncoder(UINT8 aModuleNumber, UINT32 aChannel, UINT8 bModuleNumber, UINT32 bChannel);
	
	double GetCorrectedRate();
	
	double PIDGet();
};

}

#endif
